package com.geyue.core.model;

import com.geyue.common.base.model.Model;
import lombok.Data;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 录播
 * Created by Chen on 2017/4/21.
 */
@Data
@NameStyle(value = Style.normal)
@Table(name = "vedio")
public class Vedio extends Model {

    //教师ID
    private Integer teacherId;
    //标题
    private String title;

    private String imgUrl;

    private String url;

    private String type;
    //观看次数
    private Integer total;

    private Integer isMoney;

    private Integer money;
    //年级
    private String grade;

    @Transient
    private String name;
    @Transient
    private String topId;
}
